#ifndef __TGA__
#define __TGA__
#include <cassert>
#include <iostream>
#include <cstdlib>
#include <math.h>
using namespace std;

class PGM {
    public:

    PGM(const char *filename);

    int width;
	int height;
    int byteCount;
    unsigned short* data;
	
	int getPixel(int i, int j);
	unsigned short* getData();
};


#endif
